package com.ebuy.dao;

import java.util.List;
import java.util.Map;

import com.ebuy.model.Product;


public interface ProductMapper {
    int deleteByPrimaryKey(Integer pId);

    int insert(Product record);

    int insertSelective(Product record);

    List<Product> selectSpePrice();
    
    Product selectByPrimaryKey(Integer pId);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);
    
    List<Product> selectBysrdId(Integer srdId);
    
    List<Product> selectByPager(Map<String, Object> params);
    
    int selectCount(Map<String, Object> params);
}